package com.community.web.master.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@ApiModel(value = "订单分页查询", description = "")
@Data
public class PageOrdersDto {
    @ApiModelProperty(value = "订单号")
    private String orderNo;
    @ApiModelProperty(value = "1：未付款  1：已付款  3：已发货   4：已签收")
    private Integer orderState;

    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty("页面大小")
    private Integer pageSize;
    @ApiModelProperty("第几页")
    private Integer page;
}
